<!--
 * @author: linj
 * @email: 993353454@qq.com
 * @Date: 2021-12-07 15:28:33
 * @description: no
-->
<template>
  <div class="lj-text flex-center">
    <span>{{data.value}}</span>
    <slot></slot>
  </div>
</template>
<script setup>
const props = defineProps({
  c: {
    type: Object,
    default() {
      return {}
    }
  },
  data: {
    type: Object,
    default() {
      return {}
    }
  }
})
console.error(props)
defineExpose({})
</script>
<script>
export default {
  key: 'lj-text',
  name: '文字组件',
  desc: '文字组件',
  props: {
    style: {
      type: String,
      default: ''
    }
  }
}
</script>
<style scoped lang="scss">
.lj-text {
  width: 100%;
  height: 100%;
}
</style>
